package work;

import javax.swing.*;

//鱼雷潜艇
public class TpSubmarine extends SeaObject{
    TpSubmarine(){
        super(64,20);
    }
    @Override
    public void move() {
        System.out.println("鱼雷在移动");
    }
    /** 重写getImage()获取图片 */
    public ImageIcon getImage(){
        return images.torpesubm;
    }
}
